package com.gzhryc.shared_device.cdcz.core.protocol.v2.models;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

public class V2CDCZSlot {

    @JsonProperty
    private Integer Port;       //端口号(1-N)
    @JsonProperty
    private Integer Power;      //当前端口可输出最大功率(0-1000W)
    @JsonProperty
    private Integer OutTime;    //当前端口已打开输出时间秒(1-9999999)
    @JsonProperty
    private Integer BtStat;     //端口状态( 0 待机状态 1 端口正在输出 2 输出时间到，3 充电完成，4 插头拨出， 5 功率过大，6 端口异常，7 高温报警)
    @JsonProperty
    private String Energy;      //端口累计输出电能(单位(W*MIN)瓦分钟(一分钟输出的功率) /60 等于瓦时)

    @JsonIgnore
    public Integer getPort() {
        return Port;
    }

    @JsonIgnore
    public void setPort(Integer port) {
        Port = port;
    }

    @JsonIgnore
    public Integer getPower() {
        return Power;
    }

    @JsonIgnore
    public void setPower(Integer power) {
        Power = power;
    }

    @JsonIgnore
    public Integer getOutTime() {
        return OutTime;
    }

    @JsonIgnore
    public void setOutTime(Integer outTime) {
        OutTime = outTime;
    }

    @JsonIgnore
    public Integer getBtStat() {
        return BtStat;
    }

    @JsonIgnore
    public void setBtStat(Integer btStat) {
        BtStat = btStat;
    }

    @JsonIgnore
    public String getEnergy() {
        return Energy;
    }

    @JsonIgnore
    public void setEnergy(String energy) {
        Energy = energy;
    }
}
